package com.authsphere.common.enums;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/25 11:54
 **/
public enum PluginBeforeEnum {

    GLOBAL(0, "global"),
    DECRYPT(5, "decrypt"),
    CAPTCHA(10, "captcha"),
    ACCOUNT_LOCK(15, "account_lock"),
    ;

    private final int code;
    private final String name;

    PluginBeforeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
